package cn.iocoder.yudao.module.book.controller.admin.fine.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 逾期罚金新增/修改 Request VO")
@Data
public class FineSaveReqVO {

    @Schema(description = "罚金ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "8343")
    private Long id;

    @Schema(description = "借阅ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "18898")
    @NotNull(message = "借阅ID不能为空")
    private Long loanId;

    @Schema(description = "罚金金额", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "罚金金额不能为空")
    private BigDecimal amount;

//    @Schema(description = "是否已支付", requiredMode = Schema.RequiredMode.REQUIRED, example = "12165")
    @NotNull(message = "是否已支付不能为空")
    private String paid;

}